﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using System.Threading;
using System.Globalization;

public partial class _DefaultMaster : System.Web.UI.MasterPage {

    protected void Page_Init(object sender, EventArgs e) {
    }

    protected void Page_Load(object sender, EventArgs e) {
        
    }

    protected void lbEnglish_Click(object sender, EventArgs e) {
        MyCulture.ChangeCulture("en-US");
        Response.Redirect(Request.Url.ToString(), false);
    }

    protected void lbFarsi_Click(object sender, EventArgs e) {
        MyCulture.ChangeCulture("fa-IR");
        Response.Redirect(Request.Url.ToString(), false);
    }
}
